<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<form id="DingDanForm">
	<s:hidden name="model.id" id='ids'></s:hidden>
	<s:hidden name="model.imageUrl"></s:hidden>
	<s:hidden name="model.crateDate"></s:hidden>
	<s:hidden name="model.updateDate"></s:hidden>
	<s:hidden name="model.mendianId" id="mendianIds"></s:hidden>
	<s:hidden name="model.state" id='hiddenState'></s:hidden>
	<s:hidden name="model.dianchiId" ></s:hidden>
	<s:hidden name="model.chexingId" ></s:hidden>
	<s:hidden name="model.chexingName" ></s:hidden>
	<s:hidden name="model.province" ></s:hidden>
	<s:hidden name="model.city" ></s:hidden>
	<s:hidden name="model.town" ></s:hidden>
	<s:hidden name="model.zhongliang" ></s:hidden>
	<s:hidden name="model.licheng" ></s:hidden>
	<s:hidden name="model.detailInfo" ></s:hidden>

	<s:hidden name="userType"  id="hiddenUserType" />
	<table width="100%" border="0" id="DingDanTable" cellpadding="5px;"
		cellspacing="0" class='edit_table'>
		<tbody>
			<tr>
				<th>
					订单号
				</th>
				<td>
				${model.dingDanUid}
				<s:hidden name="model.dingDanUid"></s:hidden>
				</td>
			</tr>
			<tr>
				<th>
					客户名称
				</th>
				<td>
				${model.kehuName}
				<s:hidden name="model.kehuName"></s:hidden>
				</td>
			</tr>
			<tr>
				<th>
					更换方式
				</th>
				<td>
				${model.changeType}
				<s:hidden name="model.changeType"></s:hidden>
				</td>
			</tr>
			
			<tr>
				<th>
					电池品牌
				</th>
				<td>
				${model.pinPai}
				<s:hidden name="model.pinPai"></s:hidden>
				</td>
			</tr>
			<tr>
				<th>
					电池型号
				</th>
				<td>
				${model.xingHao}
				<s:hidden name="model.xingHao"></s:hidden>
				</td>
			</tr>
			<tr>
				<th>
					电池价格
				</th>
				<td>
				${model.price}
				<s:hidden name="model.price"></s:hidden>
				</td>
			</tr>
			<tr>
				<th>
					客户电话
				</th>
				<td>
				${model.lxTel}
				<s:hidden name="model.lxTel"></s:hidden>
				</td>
			</tr>
			<tr>
				<th>
					订单状态
				</th>
				<td id='state1'>
				 <s:if test='"0"==model.state'>已下单</s:if> 
				 <s:elseif test='"1"==model.state'>已完成</s:elseif> 
				 <s:elseif test='"2"==model.state'>已指派</s:elseif>						
				 <s:elseif test='"3"==model.state'>已作废</s:elseif> 
				 <s:elseif test='"4"==model.state'>已超期</s:elseif>
				 <s:elseif test='"5"==model.state'>已核实</s:elseif> 
				 <s:else>处理中</s:else> 
				</td>
			</tr>
			<tr>
				<s:if test='"人工上门更换"==model.changeType'>
					<th>
						门店地址
					</th>
				</s:if>
				<s:else>
					<th>
						客户地址
					</th>
				</s:else>
				<td>
					<s:hidden name="model.address"></s:hidden>
					<div id="addressId">${model.address }</div>
				</td>
			</tr>
			<tr>
				<th>
					门店联系人
				</th>
				<td>
				<s:hidden name="model.mendianLxr"></s:hidden>
				<div id="mdlxrId">${model.mendianLxr }</div>
				</td>
			</tr>
			
			<tr>
				<th>
					门店名称
				</th>
				<td>
				<s:hidden name="model.mendianName"></s:hidden>
				<div id="mdmcId">${model.mendianName }</div>
				</td>
			</tr>
			<tr>
				<th>
					门店电话
				</th>
				<td>
				<s:hidden name="model.menDianTel"></s:hidden>
				<div id="mdmcId">${model.menDianTel }</div>
				</td>
			</tr>
			<tr>
				<th>
					门店地址
				</th>
				<td>
				<s:hidden name="model.mendianAddr"></s:hidden>
				<div id="mdmcId">${model.mendianAddr}</div>
				</td>
			</tr>
			<tr>
				<th>
					预约时间
				</th>
				<td>
				${model.time}
				<s:hidden name="model.time"></s:hidden>
				</td>
			</tr>
			<tr>
				<th>
					服务站名称
				</th>
				<td>
				<s:hidden name="model.fuwuzhanName"></s:hidden>
				<div>${model.fuwuzhanName }</div>
				</td>
			</tr>
			
		</tbody>
	</table>
	 <div id='parentDiv' style="display: none"><div id='kuDialogDiv' style="display: none"></div></div>
	 <iframe name="downloadFileIframe" style="display:none"></iframe> 
</form>
